package com.edt.ichannel.admin.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 发送模板实体
 *
 * @author 宋寒
 * 2018/7/5 11:41
 */
public class SendTemplate implements Serializable {


    private static final long serialVersionUID = -4653096097894265982L;
    /**
     * 主键
     */
    private String id;
    /**
     * 模板编码
     */
    private String templateCode;
    /**
     * 模板名称
     */
    private String templateName;
    /**
     * 模板内容
     */
    private String templateContents;
    /**
     * 内容匹配规则
     */
    private String contentsMatchRule;
    /**
     * 有效开始时间
     */
    private Date beginDate;
    /**
     * 有效结束时间
     */
    private Date endDate;
    /**
     * 模板状态
     * 1=启用2=停用
     */
    private Integer templateState;
    /**
     * 创建人
     */
    private String addUser;
    /**
     * 创建时间
     */
    private Date addTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTemplateCode() {
        return templateCode;
    }

    public void setTemplateCode(String templateCode) {
        this.templateCode = templateCode;
    }

    public String getTemplateName() {
        return templateName;
    }

    public void setTemplateName(String templateName) {
        this.templateName = templateName;
    }

    public String getTemplateContents() {
        return templateContents;
    }

    public void setTemplateContents(String templateContents) {
        this.templateContents = templateContents;
    }

    public String getContentsMatchRule() {
        return contentsMatchRule;
    }

    public void setContentsMatchRule(String contentsMatchRule) {
        this.contentsMatchRule = contentsMatchRule;
    }

    public Date getBeginDate() {
        return beginDate;
    }

    public void setBeginDate(Date beginDate) {
        this.beginDate = beginDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public Integer getTemplateState() {
        return templateState;
    }

    public void setTemplateState(Integer templateState) {
        this.templateState = templateState;
    }

    public String getAddUser() {
        return addUser;
    }

    public void setAddUser(String addUser) {
        this.addUser = addUser;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }
}
